/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package practicaplg;

import java.io.FileInputStream;
import semantica.AtributosProg;

/**
 *
 * @author Javi
 */
public class PracticaPlg {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
        // TODO code application logic here
       Parser parser = new Parser(new FileInputStream("input.txt"));
       AtributosProg prog = parser.Prog();
       System.out.println("# Codigo Generado: " + prog.getCod());
       System.out.println("# Errores: " + prog.getErr());
       System.out.println("# Etq: " + prog.getEtq());
       
    }
}
